local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1, L23_1
L0_1 = {}
L0_1.group_id = 133222013
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 13001
L2_1.gadget_id = 70310086
L3_1 = {}
L3_1.x = -4394.746
L3_1.y = 199.527
L3_1.z = -4210.921
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 354.368
L3_1.y = 56.5
L3_1.z = 2.533
L2_1.rot = L3_1
L2_1.level = 30
L3_1 = GadgetState
L3_1 = L3_1.Action02
L2_1.state = L3_1
L2_1.persistent = true
L2_1.area_id = 14
L3_1 = {}
L3_1.config_id = 13002
L3_1.gadget_id = 70310086
L4_1 = {}
L4_1.x = -4392.344
L4_1.y = 199.686
L4_1.z = -4214.547
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 355.949
L4_1.y = 56.929
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 30
L4_1 = GadgetState
L4_1 = L4_1.Action01
L3_1.state = L4_1
L3_1.persistent = true
L3_1.area_id = 14
L4_1 = {}
L4_1.config_id = 13003
L4_1.gadget_id = 70310086
L5_1 = {}
L5_1.x = -4389.954
L5_1.y = 199.891
L5_1.z = -4218.332
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 355.064
L5_1.y = 56.929
L5_1.z = 2.281
L4_1.rot = L5_1
L4_1.level = 30
L5_1 = GadgetState
L5_1 = L5_1.Action01
L4_1.state = L5_1
L4_1.persistent = true
L4_1.area_id = 14
L5_1 = {}
L5_1.config_id = 13004
L5_1.gadget_id = 70310086
L6_1 = {}
L6_1.x = -4398.442
L6_1.y = 199.12
L6_1.z = -4213.163
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 358.53
L6_1.y = 56.929
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 30
L6_1 = GadgetState
L6_1 = L6_1.Action01
L5_1.state = L6_1
L5_1.persistent = true
L5_1.area_id = 14
L6_1 = {}
L6_1.config_id = 13005
L6_1.gadget_id = 70310086
L7_1 = {}
L7_1.x = -4396.012
L7_1.y = 199.273
L7_1.z = -4216.902
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 359.233
L7_1.y = 56.929
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 30
L7_1 = GadgetState
L7_1 = L7_1.Action02
L6_1.state = L7_1
L6_1.persistent = true
L6_1.area_id = 14
L7_1 = {}
L7_1.config_id = 13006
L7_1.gadget_id = 70310086
L8_1 = {}
L8_1.x = -4393.522
L8_1.y = 199.505
L8_1.z = -4220.667
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 356.835
L8_1.y = 56.929
L8_1.z = 2.195
L7_1.rot = L8_1
L7_1.level = 30
L8_1 = GadgetState
L8_1 = L8_1.Action01
L7_1.state = L8_1
L7_1.persistent = true
L7_1.area_id = 14
L8_1 = {}
L8_1.config_id = 13007
L8_1.gadget_id = 70310086
L9_1 = {}
L9_1.x = -4402.101
L9_1.y = 198.896
L9_1.z = -4215.554
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 358.704
L9_1.y = 56.95
L9_1.z = 0.763
L8_1.rot = L9_1
L8_1.level = 30
L9_1 = GadgetState
L9_1 = L9_1.Action01
L8_1.state = L9_1
L8_1.persistent = true
L8_1.area_id = 14
L9_1 = {}
L9_1.config_id = 13008
L9_1.gadget_id = 70310086
L10_1 = {}
L10_1.x = -4399.717
L10_1.y = 198.994
L10_1.z = -4219.275
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 356.928
L10_1.y = 56.832
L10_1.z = 1.811
L9_1.rot = L10_1
L9_1.level = 30
L10_1 = GadgetState
L10_1 = L10_1.Action01
L9_1.state = L10_1
L9_1.persistent = true
L9_1.area_id = 14
L10_1 = {}
L10_1.config_id = 13009
L10_1.gadget_id = 70310086
L11_1 = {}
L11_1.x = -4397.342
L11_1.y = 199.106
L11_1.z = -4223.048
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 358.576
L11_1.y = 56.827
L11_1.z = 1.149
L10_1.rot = L11_1
L10_1.level = 30
L11_1 = GadgetState
L11_1 = L11_1.Action02
L10_1.state = L11_1
L10_1.persistent = true
L10_1.area_id = 14
L11_1 = {}
L11_1.config_id = 13010
L11_1.gadget_id = 70310086
L12_1 = {}
L12_1.x = -4471.725
L12_1.y = 199.405
L12_1.z = -4016.473
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 359.209
L12_1.y = 27.495
L12_1.z = 1.369
L11_1.rot = L12_1
L11_1.level = 30
L11_1.persistent = true
L11_1.area_id = 14
L12_1 = {}
L12_1.config_id = 13011
L12_1.gadget_id = 70310086
L13_1 = {}
L13_1.x = -4467.968
L13_1.y = 199.288
L13_1.z = -4018.482
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 358.46
L13_1.y = 27.499
L13_1.z = 359.727
L12_1.rot = L13_1
L12_1.level = 30
L13_1 = GadgetState
L13_1 = L13_1.GearStart
L12_1.state = L13_1
L12_1.persistent = true
L12_1.area_id = 14
L13_1 = {}
L13_1.config_id = 13012
L13_1.gadget_id = 70310086
L14_1 = {}
L14_1.x = -4464.124
L14_1.y = 199.491
L14_1.z = -4020.566
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 359.209
L14_1.y = 27.495
L14_1.z = 1.369
L13_1.rot = L14_1
L13_1.level = 30
L13_1.persistent = true
L13_1.area_id = 14
L14_1 = {}
L14_1.config_id = 13013
L14_1.gadget_id = 70310086
L15_1 = {}
L15_1.x = -4473.727
L15_1.y = 199.168
L15_1.z = -4020.119
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 359.209
L15_1.y = 27.495
L15_1.z = 358.624
L14_1.rot = L15_1
L14_1.level = 30
L15_1 = GadgetState
L15_1 = L15_1.GearStart
L14_1.state = L15_1
L14_1.persistent = true
L14_1.area_id = 14
L15_1 = {}
L15_1.config_id = 13014
L15_1.gadget_id = 70310086
L16_1 = {}
L16_1.x = -4469.851
L16_1.y = 199.188
L16_1.z = -4022.126
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 359.209
L16_1.y = 27.495
L16_1.z = 359.558
L15_1.rot = L16_1
L15_1.level = 30
L15_1.persistent = true
L15_1.area_id = 14
L16_1 = {}
L16_1.config_id = 13015
L16_1.gadget_id = 70310086
L17_1 = {}
L17_1.x = -4465.882
L17_1.y = 199.178
L17_1.z = -4024.124
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 359.209
L17_1.y = 27.495
L17_1.z = 1.369
L16_1.rot = L17_1
L16_1.level = 30
L16_1.persistent = true
L16_1.area_id = 14
L17_1 = {}
L17_1.config_id = 13016
L17_1.gadget_id = 70310086
L18_1 = {}
L18_1.x = -4475.818
L18_1.y = 199.017
L18_1.z = -4024.131
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 359.209
L18_1.y = 27.495
L18_1.z = 359.429
L17_1.rot = L18_1
L17_1.level = 30
L17_1.persistent = true
L17_1.area_id = 14
L18_1 = {}
L18_1.config_id = 13017
L18_1.gadget_id = 70310086
L19_1 = {}
L19_1.x = -4471.835
L19_1.y = 199.091
L19_1.z = -4026.178
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 359.209
L19_1.y = 27.495
L19_1.z = 1.369
L18_1.rot = L19_1
L18_1.level = 30
L18_1.persistent = true
L18_1.area_id = 14
L19_1 = {}
L19_1.config_id = 13018
L19_1.gadget_id = 70310086
L20_1 = {}
L20_1.x = -4467.898
L20_1.y = 199.032
L20_1.z = -4028.136
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 359.209
L20_1.y = 27.495
L20_1.z = 1.369
L19_1.rot = L20_1
L19_1.level = 30
L20_1 = GadgetState
L20_1 = L20_1.GearStart
L19_1.state = L20_1
L19_1.persistent = true
L19_1.area_id = 14
L20_1 = {}
L20_1.config_id = 13020
L20_1.gadget_id = 70211111
L21_1 = {}
L21_1.x = -4469.82
L21_1.y = 200.687
L21_1.z = -4022.07
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 0.793
L21_1.y = 207.261
L21_1.z = 0.439
L20_1.rot = L21_1
L20_1.level = 26
L20_1.drop_tag = "\232\167\163\232\176\156\228\184\173\231\186\167\231\168\187\229\166\187"
L20_1.isOneoff = true
L20_1.persistent = true
L21_1 = {}
L21_1.name = "chest"
L21_1.exp = 1
L20_1.explore = L21_1
L20_1.area_id = 14
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
L1_1[18] = L19_1
L1_1[19] = L20_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1013019
L2_1.name = "GADGET_STATE_CHANGE_13019"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_STATE_CHANGE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_13019"
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_13019"
L1_1[1] = L2_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 2
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 13001
L5_1 = 13002
L6_1 = 13003
L7_1 = 13004
L8_1 = 13005
L9_1 = 13006
L10_1 = 13007
L11_1 = 13008
L12_1 = 13009
L13_1 = 13010
L14_1 = 13011
L15_1 = 13012
L16_1 = 13013
L17_1 = 13014
L18_1 = 13015
L19_1 = 13016
L20_1 = 13017
L21_1 = 13018
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L3_1[9] = L12_1
L3_1[10] = L13_1
L3_1[11] = L14_1
L3_1[12] = L15_1
L3_1[13] = L16_1
L3_1[14] = L17_1
L3_1[15] = L18_1
L3_1[16] = L19_1
L3_1[17] = L20_1
L3_1[18] = L21_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_STATE_CHANGE_13019"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 13001
L6_1 = 13002
L7_1 = 13003
L8_1 = 13004
L9_1 = 13005
L10_1 = 13006
L11_1 = 13007
L12_1 = 13008
L13_1 = 13009
L14_1 = 13010
L15_1 = 13011
L16_1 = 13012
L17_1 = 13013
L18_1 = 13014
L19_1 = 13015
L20_1 = 13016
L21_1 = 13017
L22_1 = 13018
L23_1 = 13020
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L4_1[7] = L11_1
L4_1[8] = L12_1
L4_1[9] = L13_1
L4_1[10] = L14_1
L4_1[11] = L15_1
L4_1[12] = L16_1
L4_1[13] = L17_1
L4_1[14] = L18_1
L4_1[15] = L19_1
L4_1[16] = L20_1
L4_1[17] = L21_1
L4_1[18] = L22_1
L4_1[19] = L23_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = GadgetState
  L2_2 = L2_2.Default
  L3_2 = ScriptLib
  L3_2 = L3_2.GetGadgetStateByConfigId
  L4_2 = A0_2
  L5_2 = 133222013
  L6_2 = 13010
  L3_2 = L3_2(L4_2, L5_2, L6_2)
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = GadgetState
  L2_2 = L2_2.GearStart
  L3_2 = ScriptLib
  L3_2 = L3_2.GetGadgetStateByConfigId
  L4_2 = A0_2
  L5_2 = 133222013
  L6_2 = 13011
  L3_2 = L3_2(L4_2, L5_2, L6_2)
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = GadgetState
  L2_2 = L2_2.GearStart
  L3_2 = ScriptLib
  L3_2 = L3_2.GetGadgetStateByConfigId
  L4_2 = A0_2
  L5_2 = 133222013
  L6_2 = 13012
  L3_2 = L3_2(L4_2, L5_2, L6_2)
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = GadgetState
  L2_2 = L2_2.GearStart
  L3_2 = ScriptLib
  L3_2 = L3_2.GetGadgetStateByConfigId
  L4_2 = A0_2
  L5_2 = 133222013
  L6_2 = 13013
  L3_2 = L3_2(L4_2, L5_2, L6_2)
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = GadgetState
  L2_2 = L2_2.Default
  L3_2 = ScriptLib
  L3_2 = L3_2.GetGadgetStateByConfigId
  L4_2 = A0_2
  L5_2 = 133222013
  L6_2 = 13014
  L3_2 = L3_2(L4_2, L5_2, L6_2)
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = GadgetState
  L2_2 = L2_2.GearStart
  L3_2 = ScriptLib
  L3_2 = L3_2.GetGadgetStateByConfigId
  L4_2 = A0_2
  L5_2 = 133222013
  L6_2 = 13015
  L3_2 = L3_2(L4_2, L5_2, L6_2)
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = GadgetState
  L2_2 = L2_2.GearStart
  L3_2 = ScriptLib
  L3_2 = L3_2.GetGadgetStateByConfigId
  L4_2 = A0_2
  L5_2 = 133222013
  L6_2 = 13016
  L3_2 = L3_2(L4_2, L5_2, L6_2)
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = GadgetState
  L2_2 = L2_2.GearStart
  L3_2 = ScriptLib
  L3_2 = L3_2.GetGadgetStateByConfigId
  L4_2 = A0_2
  L5_2 = 133222013
  L6_2 = 13017
  L3_2 = L3_2(L4_2, L5_2, L6_2)
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = GadgetState
  L2_2 = L2_2.Default
  L3_2 = ScriptLib
  L3_2 = L3_2.GetGadgetStateByConfigId
  L4_2 = A0_2
  L5_2 = 133222013
  L6_2 = 13018
  L3_2 = L3_2(L4_2, L5_2, L6_2)
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_13019 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.ChangeGroupVariableValueByGroup
  L3_2 = A0_2
  L4_2 = "Finish"
  L5_2 = 1
  L6_2 = 133222266
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : change_GroupVariable_by_group"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GoToGroupSuite
  L3_2 = A0_2
  L4_2 = 133222013
  L5_2 = 2
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : goto_groupSuite"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 13001
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 13002
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 13003
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 13004
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 13005
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 13006
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 13007
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 13008
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 13009
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 13010
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 13011
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 13012
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 13013
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 13014
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 13015
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 13016
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 13017
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 13018
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_13019 = L1_1
